package com.example.service;

import com.example.bean.Student;
import com.example.dao.StudentShowDao;
import com.example.dao.StudentShowDaoImp;
import com.example.factory.StudentShowDaoFactory;

public class StudentShowService {
    private StudentShowDao studentShowDao;
    public StudentShowService(){
        this.studentShowDao= StudentShowDaoFactory.getStudentShowDao();
    }

    //自定义成员方法实现学员信息的显示
    public Student StudentShow(Student student){
        return studentShowDao.getStudentShow(student);
    }
}
